package com.sskj.jkzx.repository.yc;

import org.springframework.data.jpa.repository.Query;

import com.sskj.core.repository.GenericRepository;
import com.sskj.jkzx.domain.entity.quantity.YCAlertQuantity;

public interface YCAlertQuantityRepository extends GenericRepository<YCAlertQuantity, String> {

	@Query(value = "select * from jkzx_yc_alert_quantity t order by t.created_time desc limit 1", nativeQuery = true)
	YCAlertQuantity findLastOne();
}
